package com.gaogzhen.service;

import com.gaogzhen.domain.CoinConfig;
import com.baomidou.mybatisplus.extension.service.IService;
    /**
* @description ${description}
* @author Administrator
* @date 2022-11-03 11:43
* @version 1.0
*/
public interface CoinConfigService extends IService<CoinConfig>{


    /**
     * 通过币种ID查询币种配置信息
     * @param coinId    币种id
     * @return          币种配置
     */
    CoinConfig findByCoinId(Long coinId);

    /**
     *
     * @param a
     * @return
     */
    boolean updateOrSave(CoinConfig a);
}
